<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>1-Math内置对象</title>
	</head>
	<body>
		<script type="text/javascript">
			var obj = {
				username:'abc',
				PI:3.1415926
			};
			console.log(obj.PI+'='+obj.username);
			console.log(Math.PI);
			console.log(Math.floor(3.56));//3
			console.log(Math.ceil(3.56));//4
			console.log(Math.round(9.3));//9
			console.log(Math.abs(-4));//4
			
			console.log(Math.min(1,7,9,11));
			
			console.log(Math.max(1,7,9,11));
			
			
			
		</script>
	</body>
</html>
